<?php
// 本类由系统自动生成，仅供测试用途
class BaseAction extends Action {
	function _initialize(){
		C('LAYOUT_ON',false);
	}

    /**
     * 返回JSON数据
     * @param  [type] $status [description]
     * @param  [type] $data   [description]
     * @param  [type] $msg    [description]
     * @return [type]         [description]
     */
    protected function returnJson($status,$data,$msg)
    {
        return json_encode(array('status'=>$status,'data'=>$data,'msg'=>$msg));
    }
}